<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<% String contexts = request.getContextPath();
    pageContext.setAttribute("ctx", contexts);
%>
<head>
    <link type="text/css" rel="stylesheet" href="${ctx}/css/login/admin/mean.css">
    <link type="text/css" rel="stylesheet" href="${ctx}/css/login/admin/administration.css">
    <link rel="stylesheet" href="https://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
    <script type="text/javascript" src="${ctx}/js/jquery-3.1.1.min.js"></script>
    <script type="text/javascript" src="${ctx}/js/bootstrap.min.js"></script>
    <script type="text/javascript">
        var ctx = '${ctx}';
    </script>
    <script type="text/javascript" src="${ctx}/js/login/admin/administration.js"></script>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%@ taglib uri="/struts-tags" prefix="s" %>
    <title>用户管理界面</title>
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
                    aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="javascript:void(0)" onclick="listAccount()">${accountVO.loginAccount},欢迎来到后台管理页面!</a>
            <input name="accountVO.id" value="${accountVO.id}" type="hidden">
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav navbar-right">
                <li><a href="${ctx}/logout.action">退出</a></li>
            </ul>
        </div>
    </div>
</nav>
<div class="col-sm-3 col-md-2 sidebar" id="menu">
    <ul class="nav nav-sidebar menu">
        <%--菜单--%>
        <li class="active"><a href="javascript:void(0)" onclick="listAllAccount()">用户帐号管理</a></li>
        <li><a href="javascript:void(0)" onclick="loadUserData()">个人资料</a>
        </li>
        <li><a href="javascript:void(0)" onclick="loadBlogData()">博客资料</a>
        </li>
        <li><a href="javascript:void(0)" onclick="listCategory()">分类</a>
        </li>
        <li><a href="javascript:void(0)" onclick="listArticle()">文章</a>
        </li>
        <li><a href="javascript:void(0)" onclick="listLabel()">标签</a>
        </li>
        <li><a href="javascript:void(0)" onclick="listComment()">评论</a>
        </li>
    </ul>
</div>
<div id="accountData" class="mainIframe">
    <iframe class="iframe" id="workArea" src=""></iframe>
</div>
</body>
</html>
